var Tools	= {
	BOARD		: 0,
	SELECTION	: 1,
	DESELECTION	: 2,
	SCORE		: 3,
	FALLING		: 4,
	REMOVE		: 5,
	SWITCH		: 6,
	
	newCoord	: function(a, b){
		var xy	= {
			x:	a,
			y:	b
		};
		return xy;
	},
	
	newTile		: function(x, y, v, f){
		var tile = {
			x:	x,
			y:	y,
			v:	v,
			f:	f
		};
		return tile;
	},
	
	actionBoard	: function(stuff){
		return this.newAction(this.BOARD, stuff);
	},
	
	actionSelection	: function(stuff){
		return this.newAction(this.SELECTION, stuff);
	},
	
	actionDeselection	: function(stuff){
		return this.newAction(this.DESELECTION, stuff);
	},
	
	actionScore	: function(stuff){
		return this.newAction(this.SCORE, stuff);
	},
	
	actionFalling	: function(stuff){
		return this.newAction(this.FALLING, stuff);
	},
	
	actionRemove	: function(stuff){
		return this.newAction(this.REMOVE, stuff);
	},
	
	actionSwitch	: function(stuff){
		return this.newAction(this.SWITCH, stuff);
	},
	
	newAction	: function(action, stuff){
		var obj = {
			action	: action,
			stuff	: stuff
		};
		return obj;
	}
	
}
